package org.example.examfx02.entity;

public class CourseChoose extends Course{
    private Integer maxNum;
    public CourseChoose(){
        this.type = 1;
    }
    public CourseChoose(String id,String name,int chooseNum,String teacherId,int maxNum){
        super(id,name,chooseNum,teacherId);
        this.type = 1;
        this.maxNum = maxNum;
    }
    public Integer getMaxNum() {
        return maxNum;
    }

    public void setMaxNum(int maxNum) {
        this.maxNum = maxNum;
    }
}